package com.rules.admin.expression;

public class InsertExpression implements Expression {
   private Property property;

   public void accept(ExpressionVisitor visitor) {
      visitor.vistor(this);
   }

   public InsertExpression(Property property) {
      this.property = property;
   }

   public String toString() {
      StringBuilder builder = new StringBuilder();
      builder.append("insert(").append(this.property.toString()).append(")");
      return builder.toString();
   }
}
